import Vue from 'vue'
import Router from 'vue-router'
import Login from 'components/Login'
import error401 from 'components/error/401'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/401',
      name: 'error401',
      component: error401
    }
  ]
})
